package com.example.demo.domain;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.Data;

/**
 * 学生选课信息
 */
@Data
//@Entity(name="tb_courseselection")
public class CourseInfo {
    /**
     * 学生学号
     */
    @Id
    private Integer id;

    private String sid;

    public CourseInfo(String sid, String course, String cid) {
        this.sid = sid;
        this.course = course;
        this.cid = cid;
    }

    /**
     * 课程编号
     */
    private String cid;

    public CourseInfo() {
    }

    /**
     * 课程名称
     */
    private String  course;
}
